package com.tz.entity;

import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2017/1/6.
 */
@Component
public class MainBoard {

    private Long id;

    private String brand; //品牌

    public MainBoard(Long id, String brand) {
        this.id = id;
        this.brand = brand;
    }

    public MainBoard() {

    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("MainBoard{");
        sb.append("id=").append(id);
        sb.append(", brand='").append(brand).append('\'');
        sb.append('}');
        return sb.toString();
    }

}
